package pers.xx.sbm.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：xiexing
 * @description：菜单对象
 * @date ：2020/8/12 12:40
 */
public class MenuDto {
    private Integer id; //菜单id

    private String menuName;//菜单名称

    private String menuUrl;//菜单路径

    private String menuIcon;//菜单图标


    private List<MenuDto> children = new ArrayList<>();//子菜单

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public List<MenuDto> getChildren() {
        return children;
    }

    public void setChildren(List<MenuDto> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "MenuDto{" +
                "id=" + id +
                ", menuName='" + menuName + '\'' +
                ", menuUrl='" + menuUrl + '\'' +
                ", menuIcon='" + menuIcon + '\'' +
                ", children=" + children +
                '}';
    }
}
